using JTZY.Model.Business;

namespace JTZY.Model.Business
{
    /// <summary>
    /// 代理商表
    /// </summary>
    [SugarTable("corecmsagent")]
    public class Corecmsagent
    {
        /// <summary>
        /// 序列 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 用户Id 
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 代理商名称 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 代理商等级 
        /// </summary>
        public int GradeId { get; set; }

        /// <summary>
        /// 手机号 
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 微信号 
        /// </summary>
        public string Weixin { get; set; }

        /// <summary>
        /// qq号 
        /// </summary>
        public string Qq { get; set; }

        /// <summary>
        /// 店铺名称 
        /// </summary>
        public string StoreName { get; set; }

        /// <summary>
        /// 店铺Logo 
        /// </summary>
        public string StoreLogo { get; set; }

        /// <summary>
        /// 店铺Banner 
        /// </summary>
        public string StoreBanner { get; set; }

        /// <summary>
        /// 店铺简介 
        /// </summary>
        public string StoreDesc { get; set; }

        /// <summary>
        /// 审核状态 
        /// </summary>
        public int VerifyStatus { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 审核时间 
        /// </summary>
        public DateTime? VerifyTime { get; set; }

        /// <summary>
        /// 是否删除 
        /// </summary>
        public bool IsDelete { get; set; }

        [Navigate(NavigateType.OneToOne, nameof(GradeId))] //自定义关系映射
        public Corecmsagentgrade CorecmsagentgradeNav { get; set; }
    }
}